import data from "../mock/index.json";
export default class Axios {
  static ajax() {
    return new Promise((resolve, reject) => {
      if(data.result) {
        resolve(data);
      } else {
        console.log('请求错误')
      }
    });
  }
}